package com.haikesi.api.role.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName RoleAuthorityVO
 * @Author HandsomeBugs
 * @Date 2019/4/30 9:28
 * @Version 1.0
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class RoleAuthorityVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "角色ID")
    @NotNull(message="角色ID不能为空！")
    private String roleId;

    @ApiModelProperty(value = "权限（菜单）ID集合")
    @NotNull(message="权限（菜单）集合不能为空！")
    private List<String> authorityIds;

}